1
namespace CSHexStringByteArrayConverter
6 /// Required designer variable.
8 private System
.ComponentModel
.IContainer components
= null;
11 /// Clean up any resources being used.
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing
)
16 if (disposing
&& (components
!= null))
20 base.Dispose(disposing
);
23 #region Windows Form Designer generated code
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
29 private void InitializeComponent()
31 this.group1
= new System
.Windows
.Forms
.GroupBox();
32 this.label1
= new System
.Windows
.Forms
.Label();
33 this.lbHexTip
= new System
.Windows
.Forms
.Label();
34 this.btnConvertHexStringToBytes
= new System
.Windows
.Forms
.Button();
35 this.cmbByteArrayResult
= new System
.Windows
.Forms
.ComboBox();
36 this.btnReverseCopytoClipboard
= new System
.Windows
.Forms
.Button();
37 this.tbHexStringInput
= new System
.Windows
.Forms
.TextBox();
38 this.lbForwardBypteArray
= new System
.Windows
.Forms
.Label();
39 this.lbForwardHexString
= new System
.Windows
.Forms
.Label();
40 this.btnPasteFromClipboard
= new System
.Windows
.Forms
.Button();
41 this.group2
= new System
.Windows
.Forms
.GroupBox();
42 this.label3
= new System
.Windows
.Forms
.Label();
43 this.label2
= new System
.Windows
.Forms
.Label();
44 this.lbAnotherHexTip
= new System
.Windows
.Forms
.Label();
45 this.btnClearBytes
= new System
.Windows
.Forms
.Button();
46 this.tbByteToAdd
= new System
.Windows
.Forms
.TextBox();
47 this.btnAddByte
= new System
.Windows
.Forms
.Button();
48 this.btnConvertBytesToHexString
= new System
.Windows
.Forms
.Button();
49 this.cmbByteArrayInput
= new System
.Windows
.Forms
.ComboBox();
50 this.tbHexStringResult
= new System
.Windows
.Forms
.TextBox();
51 this.lbByteArrayInput
= new System
.Windows
.Forms
.Label();
52 this.lbReverseHexString
= new System
.Windows
.Forms
.Label();
53 this.group1
.SuspendLayout();
54 this.group2
.SuspendLayout();
59 this.group1
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)(((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Left
)
60 | System
.Windows
.Forms
.AnchorStyles
.Right
)));
61 this.group1
.Controls
.Add(this.label1
);
62 this.group1
.Controls
.Add(this.lbHexTip
);
63 this.group1
.Controls
.Add(this.btnConvertHexStringToBytes
);
64 this.group1
.Controls
.Add(this.cmbByteArrayResult
);
65 this.group1
.Controls
.Add(this.btnReverseCopytoClipboard
);
66 this.group1
.Controls
.Add(this.tbHexStringInput
);
67 this.group1
.Controls
.Add(this.lbForwardBypteArray
);
68 this.group1
.Controls
.Add(this.lbForwardHexString
);
69 this.group1
.Location
= new System
.Drawing
.Point(12, 12);
70 this.group1
.Name
= "group1";
71 this.group1
.Size
= new System
.Drawing
.Size(424, 104);
72 this.group1
.TabIndex
= 0;
73 this.group1
.TabStop
= false;
74 this.group1
.Text
= "Hex String -> Byte Array";
78 this.label1
.AutoSize
= true;
79 this.label1
.Location
= new System
.Drawing
.Point(100, 65);
80 this.label1
.Name
= "label1";
81 this.label1
.Size
= new System
.Drawing
.Size(18, 13);
82 this.label1
.TabIndex
= 10;
83 this.label1
.Text
= "0x";
87 this.lbHexTip
.AutoSize
= true;
88 this.lbHexTip
.Location
= new System
.Drawing
.Point(100, 33);
89 this.lbHexTip
.Name
= "lbHexTip";
90 this.lbHexTip
.Size
= new System
.Drawing
.Size(18, 13);
91 this.lbHexTip
.TabIndex
= 6;
92 this.lbHexTip
.Text
= "0x";
94 // btnConvertHexStringToBytes
96 this.btnConvertHexStringToBytes
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Right
)));
97 this.btnConvertHexStringToBytes
.Location
= new System
.Drawing
.Point(271, 28);
98 this.btnConvertHexStringToBytes
.Name
= "btnConvertHexStringToBytes";
99 this.btnConvertHexStringToBytes
.Size
= new System
.Drawing
.Size(136, 23);
100 this.btnConvertHexStringToBytes
.TabIndex
= 4;
101 this.btnConvertHexStringToBytes
.Text
= "Hex String -> Byte Array";
102 this.btnConvertHexStringToBytes
.UseVisualStyleBackColor
= true;
103 this.btnConvertHexStringToBytes
.Click
+= new System
.EventHandler(this.btnConvertHexStringToByteArray_Click
);
105 // cmbByteArrayResult
107 this.cmbByteArrayResult
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)(((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Left
)
108 | System
.Windows
.Forms
.AnchorStyles
.Right
)));
109 this.cmbByteArrayResult
.DropDownStyle
= System
.Windows
.Forms
.ComboBoxStyle
.DropDownList
;
110 this.cmbByteArrayResult
.FormatString
= "X2";
111 this.cmbByteArrayResult
.FormattingEnabled
= true;
112 this.cmbByteArrayResult
.Location
= new System
.Drawing
.Point(118, 61);
113 this.cmbByteArrayResult
.Name
= "cmbByteArrayResult";
114 this.cmbByteArrayResult
.Size
= new System
.Drawing
.Size(147, 21);
115 this.cmbByteArrayResult
.TabIndex
= 3;
117 // btnReverseCopytoClipboard
119 this.btnReverseCopytoClipboard
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Right
)));
120 this.btnReverseCopytoClipboard
.Location
= new System
.Drawing
.Point(271, 60);
121 this.btnReverseCopytoClipboard
.Name
= "btnReverseCopytoClipboard";
122 this.btnReverseCopytoClipboard
.Size
= new System
.Drawing
.Size(136, 23);
123 this.btnReverseCopytoClipboard
.TabIndex
= 9;
124 this.btnReverseCopytoClipboard
.Text
= "Copy to Clipboard";
125 this.btnReverseCopytoClipboard
.UseVisualStyleBackColor
= true;
126 this.btnReverseCopytoClipboard
.Click
+= new System
.EventHandler(this.btnCopytoClipboard_Click
);
130 this.tbHexStringInput
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)(((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Left
)
131 | System
.Windows
.Forms
.AnchorStyles
.Right
)));
132 this.tbHexStringInput
.Location
= new System
.Drawing
.Point(118, 30);
133 this.tbHexStringInput
.Name
= "tbHexStringInput";
134 this.tbHexStringInput
.Size
= new System
.Drawing
.Size(147, 20);
135 this.tbHexStringInput
.TabIndex
= 2;
136 this.tbHexStringInput
.Text
= "FF00EE11";
138 // lbForwardBypteArray
140 this.lbForwardBypteArray
.AutoSize
= true;
141 this.lbForwardBypteArray
.Location
= new System
.Drawing
.Point(29, 64);
142 this.lbForwardBypteArray
.Name
= "lbForwardBypteArray";
143 this.lbForwardBypteArray
.Size
= new System
.Drawing
.Size(58, 13);
144 this.lbForwardBypteArray
.TabIndex
= 1;
145 this.lbForwardBypteArray
.Text
= "Byte Array:";
147 // lbForwardHexString
149 this.lbForwardHexString
.AutoSize
= true;
150 this.lbForwardHexString
.Location
= new System
.Drawing
.Point(29, 33);
151 this.lbForwardHexString
.Name
= "lbForwardHexString";
152 this.lbForwardHexString
.Size
= new System
.Drawing
.Size(59, 13);
153 this.lbForwardHexString
.TabIndex
= 0;
154 this.lbForwardHexString
.Text
= "Hex String:";
156 // btnPasteFromClipboard
158 this.btnPasteFromClipboard
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Right
)));
159 this.btnPasteFromClipboard
.Location
= new System
.Drawing
.Point(271, 56);
160 this.btnPasteFromClipboard
.Name
= "btnPasteFromClipboard";
161 this.btnPasteFromClipboard
.Size
= new System
.Drawing
.Size(136, 23);
162 this.btnPasteFromClipboard
.TabIndex
= 5;
163 this.btnPasteFromClipboard
.Text
= "Paste From Clipboard";
164 this.btnPasteFromClipboard
.UseVisualStyleBackColor
= true;
165 this.btnPasteFromClipboard
.Click
+= new System
.EventHandler(this.btnPasteFromClipboard_Click
);
169 this.group2
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)((((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Bottom
)
170 | System
.Windows
.Forms
.AnchorStyles
.Left
)
171 | System
.Windows
.Forms
.AnchorStyles
.Right
)));
172 this.group2
.Controls
.Add(this.label3
);
173 this.group2
.Controls
.Add(this.label2
);
174 this.group2
.Controls
.Add(this.lbAnotherHexTip
);
175 this.group2
.Controls
.Add(this.btnPasteFromClipboard
);
176 this.group2
.Controls
.Add(this.btnClearBytes
);
177 this.group2
.Controls
.Add(this.tbByteToAdd
);
178 this.group2
.Controls
.Add(this.btnAddByte
);
179 this.group2
.Controls
.Add(this.btnConvertBytesToHexString
);
180 this.group2
.Controls
.Add(this.cmbByteArrayInput
);
181 this.group2
.Controls
.Add(this.tbHexStringResult
);
182 this.group2
.Controls
.Add(this.lbByteArrayInput
);
183 this.group2
.Controls
.Add(this.lbReverseHexString
);
184 this.group2
.Location
= new System
.Drawing
.Point(12, 122);
185 this.group2
.Name
= "group2";
186 this.group2
.Size
= new System
.Drawing
.Size(424, 166);
187 this.group2
.TabIndex
= 1;
188 this.group2
.TabStop
= false;
189 this.group2
.Text
= "Byte Array -> Hex String";
193 this.label3
.AutoSize
= true;
194 this.label3
.Location
= new System
.Drawing
.Point(100, 126);
195 this.label3
.Name
= "label3";
196 this.label3
.Size
= new System
.Drawing
.Size(18, 13);
197 this.label3
.TabIndex
= 13;
198 this.label3
.Text
= "0x";
202 this.label2
.AutoSize
= true;
203 this.label2
.Location
= new System
.Drawing
.Point(100, 62);
204 this.label2
.Name
= "label2";
205 this.label2
.Size
= new System
.Drawing
.Size(18, 13);
206 this.label2
.TabIndex
= 11;
207 this.label2
.Text
= "0x";
211 this.lbAnotherHexTip
.AutoSize
= true;
212 this.lbAnotherHexTip
.Location
= new System
.Drawing
.Point(100, 30);
213 this.lbAnotherHexTip
.Name
= "lbAnotherHexTip";
214 this.lbAnotherHexTip
.Size
= new System
.Drawing
.Size(18, 13);
215 this.lbAnotherHexTip
.TabIndex
= 12;
216 this.lbAnotherHexTip
.Text
= "0x";
220 this.btnClearBytes
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Right
)));
221 this.btnClearBytes
.Location
= new System
.Drawing
.Point(209, 25);
222 this.btnClearBytes
.Name
= "btnClearBytes";
223 this.btnClearBytes
.Size
= new System
.Drawing
.Size(57, 23);
224 this.btnClearBytes
.TabIndex
= 6;
225 this.btnClearBytes
.Text
= "Clear";
226 this.btnClearBytes
.UseVisualStyleBackColor
= true;
227 this.btnClearBytes
.Click
+= new System
.EventHandler(this.btnClearBytes_Click
);
231 this.tbByteToAdd
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)(((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Left
)
232 | System
.Windows
.Forms
.AnchorStyles
.Right
)));
233 this.tbByteToAdd
.Location
= new System
.Drawing
.Point(118, 27);
234 this.tbByteToAdd
.Name
= "tbByteToAdd";
235 this.tbByteToAdd
.Size
= new System
.Drawing
.Size(26, 20);
236 this.tbByteToAdd
.TabIndex
= 11;
240 this.btnAddByte
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Right
)));
241 this.btnAddByte
.Location
= new System
.Drawing
.Point(149, 25);
242 this.btnAddByte
.Name
= "btnAddByte";
243 this.btnAddByte
.Size
= new System
.Drawing
.Size(58, 23);
244 this.btnAddByte
.TabIndex
= 10;
245 this.btnAddByte
.Text
= "Add";
246 this.btnAddByte
.UseVisualStyleBackColor
= true;
247 this.btnAddByte
.Click
+= new System
.EventHandler(this.btnAddByte_Click
);
249 // btnConvertBytesToHexString
251 this.btnConvertBytesToHexString
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Right
)));
252 this.btnConvertBytesToHexString
.Location
= new System
.Drawing
.Point(271, 87);
253 this.btnConvertBytesToHexString
.Name
= "btnConvertBytesToHexString";
254 this.btnConvertBytesToHexString
.Size
= new System
.Drawing
.Size(136, 23);
255 this.btnConvertBytesToHexString
.TabIndex
= 8;
256 this.btnConvertBytesToHexString
.Text
= "Byte Array -> Hex String";
257 this.btnConvertBytesToHexString
.UseVisualStyleBackColor
= true;
258 this.btnConvertBytesToHexString
.Click
+= new System
.EventHandler(this.btnConvertByteArrayToHexString_Click
);
262 this.cmbByteArrayInput
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)(((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Left
)
263 | System
.Windows
.Forms
.AnchorStyles
.Right
)));
264 this.cmbByteArrayInput
.DropDownStyle
= System
.Windows
.Forms
.ComboBoxStyle
.DropDownList
;
265 this.cmbByteArrayInput
.FormatString
= "X2";
266 this.cmbByteArrayInput
.FormattingEnabled
= true;
267 this.cmbByteArrayInput
.Location
= new System
.Drawing
.Point(118, 58);
268 this.cmbByteArrayInput
.Name
= "cmbByteArrayInput";
269 this.cmbByteArrayInput
.Size
= new System
.Drawing
.Size(147, 21);
270 this.cmbByteArrayInput
.TabIndex
= 7;
274 this.tbHexStringResult
.Anchor
= ((System
.Windows
.Forms
.AnchorStyles
)(((System
.Windows
.Forms
.AnchorStyles
.Top
| System
.Windows
.Forms
.AnchorStyles
.Left
)
275 | System
.Windows
.Forms
.AnchorStyles
.Right
)));
276 this.tbHexStringResult
.Location
= new System
.Drawing
.Point(118, 123);
277 this.tbHexStringResult
.Name
= "tbHexStringResult";
278 this.tbHexStringResult
.ReadOnly
= true;
279 this.tbHexStringResult
.Size
= new System
.Drawing
.Size(147, 20);
280 this.tbHexStringResult
.TabIndex
= 6;
284 this.lbByteArrayInput
.AutoSize
= true;
285 this.lbByteArrayInput
.Location
= new System
.Drawing
.Point(29, 31);
286 this.lbByteArrayInput
.Name
= "lbByteArrayInput";
287 this.lbByteArrayInput
.Size
= new System
.Drawing
.Size(58, 13);
288 this.lbByteArrayInput
.TabIndex
= 5;
289 this.lbByteArrayInput
.Text
= "Byte Array:";
291 // lbReverseHexString
293 this.lbReverseHexString
.AutoSize
= true;
294 this.lbReverseHexString
.Location
= new System
.Drawing
.Point(29, 126);
295 this.lbReverseHexString
.Name
= "lbReverseHexString";
296 this.lbReverseHexString
.Size
= new System
.Drawing
.Size(59, 13);
297 this.lbReverseHexString
.TabIndex
= 4;
298 this.lbReverseHexString
.Text
= "Hex String:";
302 this.AutoScaleDimensions
= new System
.Drawing
.SizeF(6F
, 13F
);
303 this.AutoScaleMode
= System
.Windows
.Forms
.AutoScaleMode
.Font
;
304 this.ClientSize
= new System
.Drawing
.Size(448, 300);
305 this.Controls
.Add(this.group2
);
306 this.Controls
.Add(this.group1
);
307 this.FormBorderStyle
= System
.Windows
.Forms
.FormBorderStyle
.FixedDialog
;
308 this.Name
= "MainForm";
309 this.Text
= "CSHexStringByteArrayConverter";
310 this.group1
.ResumeLayout(false);
311 this.group1
.PerformLayout();
312 this.group2
.ResumeLayout(false);
313 this.group2
.PerformLayout();
314 this.ResumeLayout(false);
320 private System
.Windows
.Forms
.GroupBox group1
;
321 private System
.Windows
.Forms
.Button btnConvertHexStringToBytes
;
322 private System
.Windows
.Forms
.ComboBox cmbByteArrayResult
;
323 private System
.Windows
.Forms
.TextBox tbHexStringInput
;
324 private System
.Windows
.Forms
.Label lbForwardBypteArray
;
325 private System
.Windows
.Forms
.Label lbForwardHexString
;
326 private System
.Windows
.Forms
.GroupBox group2
;
327 private System
.Windows
.Forms
.Button btnReverseCopytoClipboard
;
328 private System
.Windows
.Forms
.Button btnConvertBytesToHexString
;
329 private System
.Windows
.Forms
.ComboBox cmbByteArrayInput
;
330 private System
.Windows
.Forms
.TextBox tbHexStringResult
;
331 private System
.Windows
.Forms
.Label lbByteArrayInput
;
332 private System
.Windows
.Forms
.Label lbReverseHexString
;
333 private System
.Windows
.Forms
.Button btnAddByte
;
334 private System
.Windows
.Forms
.TextBox tbByteToAdd
;
335 private System
.Windows
.Forms
.Button btnClearBytes
;
336 private System
.Windows
.Forms
.Button btnPasteFromClipboard
;
337 private System
.Windows
.Forms
.Label lbHexTip
;
338 private System
.Windows
.Forms
.Label lbAnotherHexTip
;
339 private System
.Windows
.Forms
.Label label1
;
340 private System
.Windows
.Forms
.Label label3
;
341 private System
.Windows
.Forms
.Label label2
;